<?php /* Smarty version Smarty-3.1.7, created on 2012-02-17 13:15:34
         compiled from "E:\cms\phplinblog\www/template/cial\article.tpl" */ ?>
<?php /*%%SmartyHeaderCode:38804f3de276c15467-34591643%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'cf28f6c6c1caabe0968bf5c275a63d0673f87a72' => 
    array (
      0 => 'E:\\cms\\phplinblog\\www/template/cial\\article.tpl',
      1 => 1329448682,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '38804f3de276c15467-34591643',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data' => 0,
    'user' => 0,
    'cate' => 0,
    'nurl' => 0,
    'ntitle' => 0,
    'purl' => 0,
    'ptitle' => 0,
    'sessId' => 0,
    'url' => 0,
    'cmt_editor' => 0,
    'arr' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_4f3de27708cc4',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f3de27708cc4')) {function content_4f3de27708cc4($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'E:\\cms\\phplinblog\\www\\include\\libs\\plugins\\modifier.date_format.php';
?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
 
<?php echo $_smarty_tpl->getSubTemplate ("menu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div id="content">
<div class="cont">
<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['act'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['act']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['data']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['name'] = 'act';
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['act']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['act']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['act']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['act']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['act']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['act']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['act']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['act']['total']);
?>
<div class='act_tit'>
<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['act']['index']]['title'];?>

</div>
<div class='act_rel'>
<ul>
<li>【作者:<?php echo $_smarty_tpl->tpl_vars['user']->value;?>
</li>
<li>分类：<?php echo $_smarty_tpl->tpl_vars['cate']->value;?>
</li>
<li>点击数：<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['act']['index']]['show_times'];?>
</li>
<li>发布时间：<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['act']['index']]['pub_date'],'%Y-%m-%d %H:%M:%S');?>
】</li>
</ul>
</div>
<div class='act_des'>
摘要：<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['act']['index']]['description'];?>

</div>
<div class='act_con'>
<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['act']['index']]['content'];?>

</div>
<div class='htiao'>
<div class='ttiao'>
<ul>
<li><a href='<?php echo $_smarty_tpl->tpl_vars['nurl']->value;?>
'>上一篇:<?php echo $_smarty_tpl->tpl_vars['ntitle']->value;?>
</a></li>
<li><a href='<?php echo $_smarty_tpl->tpl_vars['purl']->value;?>
'>下一篇:<?php echo $_smarty_tpl->tpl_vars['ptitle']->value;?>
</a></li>
</ul>
</div>

</div>
<div class='htiao'>
<div class='ltiao'>发表评论</div>
<div class='rtiao'>查看全部评论（<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['act']['index']]['cmt_count'];?>
）条>></div>
</div>

<?php endfor; else: ?>
文章没有显示
<?php endif; ?>
<?php if ($_smarty_tpl->tpl_vars['sessId']->value==true){?>
<div class='ms'> 请自觉遵守互联网相关的政策法规，严禁发布色情、暴力、反动的言论。</div>
<form action='<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
' method='post'>
<?php echo $_smarty_tpl->tpl_vars['cmt_editor']->value;?>

<div class='ptiao'>
<input type='submit' name='submit' value='发布评论' />
<div class='ms'>网友评论仅供网友表达个人看法，并不表明本站同意其观点或证实其描述。</div>
</div>
</form>
<?php }else{ ?>
<div class='ms'>请先登录后再评论</div>
<?php }?>
</div>

<div class='htiao'>
<div class='ltiao'>评论列表</div>
</div>
<div class='cmt_lists'>
<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['tx'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['arr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['name'] = 'tx';
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total']);
?>
<div class='cmter'><?php echo $_smarty_tpl->tpl_vars['arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['author'];?>
在 <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['pub_date'],'%Y-%m-%d %H:%M:%S');?>
说：</div>
<div class='cont'><?php echo $_smarty_tpl->tpl_vars['arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['description'];?>
</div>
<?php endfor; else: ?>
暂时还没有评论
<?php endif; ?>
</div>
</div>
<div class="nav"></div>
<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>